﻿using UnityEngine;
using System.Collections;

public class AnswerClick : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
    public void MoveAnswerOnClick()
    {
        chengyuManager.Instance.RemoveAnswer(this.gameObject.transform.Find("Label").GetComponent<UILabel>().text);
        this.gameObject.transform.Find("Label").GetComponent<UILabel>().text = string.Empty;
        chengyuManager.Instance.answerK--;
        chengyuManager.Instance.answersLength++;
        AudioManager.instance.errorAudio = true;
    }
}
